import {Locale} from 'vant'
import zhCN from 'vant/lib/locale/lang/zh-CN';
import jaJP from 'vant/lib/locale/lang/ja-JP';
import enUs from 'vant/lib/locale/lang/en-US';
import th_TH from 'vant/lib/locale/lang/en-US';
export default function locales(a) {
  if(a == 'zh'){
    Locale.use('zh',zhCN)
  }
  if(a == 'jp'){
    Locale.use('jp',jaJP)
  }
  if(a == 'en'){
    Locale.use('en',enUs)
  }
  if(a == 'th_TH'){
    Locale.use('th_TH',th_TH)
  }
}
